﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MESPro.Models.FunctionType
{
    /// <summary>
    /// 弹出框类型
    /// </summary>
    public class MsgBoxOption
    {
        /// <summary>
        /// 是否弹出
        /// </summary>
        [Description("点击按钮后,是否弹出一个框,来确认"), DisplayName("\t\t\t\t\t\t\t\t\t是否弹出"), Browsable(true)]
        public bool IsShowBox { get; set; }
        /// <summary>
        /// 弹出框类型
        /// </summary>
        [Description("点击按钮后,弹出确认框的类型"), DisplayName("\t\t\t\t\t\t\t\t弹出框类型"), Browsable(true)]
        public MessageBoxButtons MessageBoxButtons { get; set; }
        /// <summary>
        /// 弹出框标题
        /// </summary>
        [Description("弹出框标题"), DisplayName("\t\t\t\t\t\t\t弹出框标题"), Browsable(true)]
        public string? Title { get; set; }
        /// <summary>
        /// 弹出框内容
        /// </summary>
        [Description("弹出框内容"), DisplayName("\t\t\t\t\t\t弹出框内容"), Browsable(true)]
        public string? Content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override string ToString()
        {
            return "双击展开";
        }
    }
}
